package com.hackintosh.adapter.pattern;

/**
 * @description：
 * @author：twislyn
 * @date：Created in 2021/05/12
 * @modified By：
 * @version: 1.0
 */
public class OpticalAdapter implements Motor {
    private OpticalMotor opticalMotor;

    public OpticalAdapter(){
        opticalMotor = new OpticalMotor();
    }
    @Override
    public void drive() {
        opticalMotor.opticalDrive();
    }
}
